package com.zw.yzk.kabu.data.network.task;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/7.
 */

public class ModifyShoppingCartTask extends Task {

    @Expose
    @SerializedName("product_detail")
    public List<Product> productList;

    public static class Product {
        @Expose
        @SerializedName("shoppingcart_id")
        public int shoppingCartId;
        @Expose
        @SerializedName("number")
        public int count;
        @Expose
        @SerializedName("product_sku_id")
        public String skuId;
    }

    public ModifyShoppingCartTask(List<Product> productList) {
        this.productList = productList;
    }
}
